﻿using System.Collections.Generic;

namespace XmlServer.ServiceContracts
{
    /// <summary>
    /// The IRequest object is passed to an IOperator for processing.
    /// The IOperator returns an IResponse object
    /// </summary>
    public interface IRequest
    {
        /// <summary>
        /// The name of the operator being invoked.
        /// </summary>
        string Name { get; set; }

        /// <summary>
        /// The cersion of the operator being invoked
        /// </summary>
        string Version { get; set; }

        /// <summary>
        /// The collection of facts passed to the operator
        /// </summary>
        List<IFact> Facts { get; set; }
    }
}
